import request from "@/utils/request";

/**查询代理库存列表 */
export function listAgencyInventory(params) {
  return request({
    url: "/system/cloudInventory/listAgencyInventory",
    method: "get",
    params,
  });
}

/**查询代理库存详情 */
export function agencyInventory(params) {
  return request({
    url: "/system/cloudInventory/agencyInventory",
    method: "get",
    params,
  });
}

/**后台 修改云库存 */
export function modifiedInventory(data) {
  return request({
    url: "/system/cloudInventory/modifiedInventory",
    method: "put",
    data,
  });
}
